How to create my own custom UML elements?
Create a new custom element via the menu and choose a name for the new element. To change the graphical behavior of the new element, edit its Java code in the new, additional lower-right text panel.

An example can be downloaded here. To import the example into UMLet, store it in "com.umlet.plugin\custom_elements".